home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist6.3 / gl_dev.idb / usr / share / catman / p_man / cat3w / fmenumerate.z / fmenumerate
Encoding:
Text File  |  1996-12-06  |  1.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4. FFFFMMMMEEEENNNNUUUUMMMMEEEERRRRAAAATTTTEEEE((((3333WWWW))))                                                FFFFMMMMEEEENNNNUUUUMMMMEEEERRRRAAAATTTTEEEE((((3333WWWW))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      fmenumerate - enumerate the font faces available through the font
  10.      manager.
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<ffffmmmmcccclllliiiieeeennnntttt....hhhh>>>>
  14.  
  15.      vvvvooooiiiidddd ffffmmmmeeeennnnuuuummmmeeeerrrraaaatttteeee ((((ccccaaaallllllllbbbbaaaacccckkkk))))
  16.      vvvvooooiiiidddd ((((****ccccaaaallllllllbbbbaaaacccckkkk))))(((())));;;;
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      _f_m_e_n_u_m_e_r_a_t_e accepts a callback routine as an argument.  It calls the
  20.      routine once for each font face file in the font directories in the font
  21.      path, When _f_m_e_n_u_m_e_r_a_t_e calls the callback routine, it passes the callback
  22.      routine a pointer to a character string that contains the name of a font
  23.      file.  For example, the following code prints the name of each "family"
  24.      to the terminal:
  25.  
  26.           void printname(str)
  27.               char *str;
  28.           {
  29.                printf("%s\n", str);
  30.           }
  31.  
  32.           main()
  33.           {
  34.                fminit();
  35.                fmenumerate(printname);
  36.           }
  37.  
  38.  
  39. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  40.      fminit(3W), fmfontpath(3W), fmsetpath(3W).
  41.  
  42. NNNNOOOOTTTTEEEE
  43.      This routine is available only in immediate mode.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.